/**
 * 
 */
package org.swing.utility.jms;

import java.util.ArrayList;
import java.util.List;

import org.swing.utility.jms.sender.JmsSender;

/**
 * @author lqnhu
 *
 */
public class NewPublisher {
	private NewPublisher() {
	}

	public static void main(String[] args) {
		try {
			JmsSender sender = JmsSender.buildForTopic();
			List<String> list = new ArrayList<String>();
			list.add("I am Object......");
			sender.send("lqnhu");
			// sender.send("Say Hello!!!!");
			sender.close();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
